//This class may be unecessary but we can consolidate later
public class GraphicsEngine implements GraphicsEngineI{
	public GraphicsEngine() {
		
	}
	
	@Override
	public void openWindow() {
		GameManager.GM.glWindow.start();
		
	}

	@Override
	public void renderDefaultDownCurve() {
		GameManager.GM.glWindow.discretedown();
	}

	@Override
	public void renderDefaultLeftCurve() {
		GameManager.GM.glWindow.discreteleft();
		
	}

	@Override
	public void renderDefaultRightCurve() {
		GameManager.GM.glWindow.discreteright();
		
	}

	@Override
	public void renderDefaultStraightPiece() {
		GameManager.GM.glWindow.discreteforward();
	}

	@Override
	public void renderDefaultUpCurve() {
		GameManager.GM.glWindow.discreteup();
		
	}

	@Override
	public void runCoaster() {
		GameManager.GM.glWindow.setMove(true);
		GameManager.GM.glWindow.setFreeCamera(false);
	}

	@Override
	public void stopCoaster() {
		GameManager.GM.glWindow.setMove(false);
		GameManager.GM.glWindow.setFreeCamera(true);
	}

	public void deletePart() {
		//GameManager.GM.glWindow.delete();
		
	}

	
}
